-
Notifications
You must be signed in to change notification settings - Fork 22
Adjust tests to all editions and versions #1995
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
okorach
added a commit
that referenced
this pull request
Oct 20, 2025
* Adjust tests to CB * Fixes #1996 * Add parameter format v1 or v2 to generate external issues report * Fix issue type (always vuln) * Adjust tests to 9.9 * Automatically detect 9.9 and set external issues format and scanner token param * Fix search by severity problem when severities are different between MQR and Std * Fix problem on filters on type of issues * Move env is separate file * unify scripts * rename scan.sh * Added env.sh * Remove useless file * Add determination of URL is 9.x * Make linters to run configurable * Fix python coverage and test paths that have to be relative * Use class to update web hooks * Quality pass * Add Web hook create delete test * Add one more test on refresh() after delete * Update with test data * Quality pass * Quality pass
okorach
added a commit
that referenced
this pull request
Oct 20, 2025
* Bump urllib3 from 2.2.3 to 2.5.0 Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.3 to 2.5.0. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@2.2.3...2.5.0) --- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.5.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * Ruff initial formatting (#1984) * Fix-ruff-convert-to-sonar (#1987) * Exclude ruff rule D401 * Fix ruff report conversion to external issues format * Fix conversion ruff to external issues * Improvement * Exclude silly ruff rules * Fix close for loop * Create fresh TESTSYNC before each tests * Format shellcheck native JSON report * Quality pass * Exclude useless ruff rules * Quality pass * Fix ruff rule exclusions * Quality pass * Exclude shell from coverage calculation * Quality pass * Shell quality pass * Quality pass * Quality pass * Quality pass * Quality pass * Quality pass * Quality pass * Quality pass * Quality pass * Quality pass * Fix typo * Quality pass * Quality pass * Update lock * Quality pass * Fix-bug (#1988) * Fix bug never encoutered yet * Fix bug * Misc minor improvements and fixes * Fix bug * Fix bug * Fix TD * Fix bug due to refactoring * Disable rule R0913 covered by ruff * Fix type hint * Tune ruff analysis to not report type hints in python 3.10+ format * Fix * Quality pass * Fix issue changelog count * Remove unused import * Add release date test * Formatting * fix exit code of sonar-tools-help * Fix minimum version * Fix migration build with toml file * Add migration in package * Fix pack (migration vs cli) * Adjust issue counts after intro of ruff * Fix sync export test * Fix tests * Fix tests * Fix test now that no warning on sonar-tools * Fix MQR mode get/set (#1992) * Fixes #1991 * Quality pass * Fix reset on 2025.2 and higher for autodetect ai * Return false when setting an unsettable setting * Add tests for custom settings * Refactoring * Add more test for standard settings * Add docstring * Quality pass * Add exclusion of migration/pyproject.toml * Fix webhook get_object() * Clean up webhooks tests * Use reload * Set webhook url as https * (re)declare webhook attributes * Quality pass * Document attributes * Add load() method for webhooks * Fix issue * Simplify docstring * Adjust tests to all editions and versions (#1995) * Adjust tests to CB * Fixes #1996 * Add parameter format v1 or v2 to generate external issues report * Fix issue type (always vuln) * Adjust tests to 9.9 * Automatically detect 9.9 and set external issues format and scanner token param * Fix search by severity problem when severities are different between MQR and Std * Fix problem on filters on type of issues * Move env is separate file * unify scripts * rename scan.sh * Added env.sh * Remove useless file * Add determination of URL is 9.x * Make linters to run configurable * Fix python coverage and test paths that have to be relative * Use class to update web hooks * Quality pass * Add Web hook create delete test * Add one more test on refresh() after delete * Update with test data * Quality pass * Quality pass * Import webhooks (#1998) * Fixes #1989 * Quality pass * Fix-prep-all-tests (#1999) * Use run_scanner instead of scan * Run linters before creating projects * Remove requirements.txt (#2000) * Remove requirements.txt * Add build migration * Fix docker build sonar-migration (add cli package) * Remove setup files (replaced by poetry) * Remove setup.py * Add-run-all-everywhere (#2002) * Add run_all everywhere * Quality pass * Handle-exceptions-at-the-root-request (#2003) * Fix bug * Convert exceptions at the root * Adjust to exceptions in platform * Make gitlab groups a list setting * Remove au lowercasing for API errors * Adjust to exceptions in platform * Allow new param as multi-valued * Adjust to QG not found message * Separate exception for HTTP and Connection Error * Simplify import_zip excepton handling * Disallowed to remove admin permission to the admin user * Adjust exception handling * Add illegal issue transition * Add illegal issue transition * Fix * Raise IllegalIssueTransition * Remove Illegal Issue Transition Exception * Remove illegal issue err code * Remove nolint option from the run_scanner call * Formatting * Fix key callection for object not found * Handle ObjectNotFound for import_zip * Remove exception handling in delete() * Fixes on WebHook corner cases * Add auto gen of unsupported operation for bad parameter value * Remove ConnectionError, it's a type of RequestException * Remove useless CLI parameters process * Raise UnsupportedOperationw hen passing a wrong severity * Verify exception when passing incorrect parameters * Verify exception when import non existing project key * Verify exception when webhook with too small secret string * Handle update when reference portfolio already exists * Remove exception handling (handled in Platform) * Add exception handling for incorretc API param value * Quality pass * Add type hints * Quality pass * Quality pass * Fix key retrieval in case of exception * Add message to detect not found * Refactoring * Adjust to 9.9 * Adjust to 9.9 * Use poetry to install dependencies * Fix run_linters * Find ruff from python * Remove python to ruff ruff * Install deps before running linters * Remove install before runninng linters * Try to run linters in same env * Refactor-error-handling-part-2 (#2004) * 2nd pass of exceptions refactoring * Remove useless parens for walrus ops * Formatting * Remove unused imports and vars due to centralized exception handling * Refactor * New tests for branches * Remove unused imports * Clear cache when object not found * More robust clear when object not found * Better tests * Use platform exception handling * More centralized exception handling * Quality pass * Add docstring * Quality pass * Add more tests * Add more tests * Move Levenshtein distance calc in utilities * Fix docstrings * add test_exists() * Formatting * Small refactoring * Fix get_findings() * Add get_findings() * Adjust test_exists() for CB * Adjust test_rename() for variable main branch name * Adjust test_request_error() for connection error * Detect unsupported operation from unknown URL * Adjust to variable main branch name * Adjust to 9.9 that can't set main branch * Remove non class get_object() * Remove non class rule get_object() * Remove noisy log * Add cache class * Add cache class * Temporarily remove portfolio export test * Clear caches after corrupting branches or projects * Quality pass * Change max issues in sonar-tools * Add more tests * Fix bug * Fix test * Fix tests sync * Add branches to test project * Formatting --------- Co-authored-by: Olivier Korach <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Olivier Korach <[email protected]> Co-authored-by: Olivier Korach <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



No description provided.